package com.yaoayao.mall.payment.service;

import com.yaoayao.mall.model.enums.PaymentType;
import com.yaoayao.mall.model.payment.PaymentInfo;

import java.util.Map;

/**
 * @author: peiyao
 * @date: 2024/4/19 23:23
 * @description:
 */
public interface PaymentInfoService {
    PaymentInfo insert(Long orderId, PaymentType paymentType);

    void paySuccess(Map<String, String> paramsMap);


    void closePayment(Long orderId);
}
